#include "StdAfx.h"
#include "HttpFileSection.h"


CHttpFileSection::CHttpFileSection(void)
	: m_uStartPos(0)
	, m_uDataSize(0)
{
}


CHttpFileSection::~CHttpFileSection(void)
{
}


VOID CHttpFileSection::SetDataPtr(PUCHAR lpData)
{
	m_lpData = lpData;
}


VOID CHttpFileSection::SetStartPos(DWORD uStartPos)
{
	m_uStartPos = uStartPos;
}


VOID CHttpFileSection::SetDataSize(DWORD uDataSize)
{
	m_uDataSize = uDataSize;
}


DWORD CHttpFileSection::GetStartPos(void)
{
	return m_uStartPos;
}


PUCHAR CHttpFileSection::GetDataBuffer(void)
{
	return m_lpData;
}


DWORD CHttpFileSection::GetDataSize(void)
{
	return m_uDataSize;
}
